package com.ftg.learn.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 运费模版
 * </p>
 *
 * @author mallCommon
 * @since 2022-04-19
 */
@TableName("pms_feight_template")
public class PmsFeightTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运费模板id
     */
    @TableId(value = "feight_template_id", type = IdType.AUTO)
    private Long feightTemplateId;

    /**
     * 运费模板名称
     */
    private String feightTemplateName;

    /**
     * 计费类型:0->按重量；1->按件数
     */
    private Integer chargeType;

    /**
     * 首重kg
     */
    private BigDecimal firstWeight;

    /**
     * 首费（元）
     */
    private BigDecimal firstFee;

    /**
     * 续重kg
     */
    private BigDecimal continueWeight;

    /**
     * 续重（元）
     */
    private BigDecimal continmeFee;

    /**
     * 目的地（省、市）
     */
    private String dest;

    public Long getFeightTemplateId() {
        return feightTemplateId;
    }

    public void setFeightTemplateId(Long feightTemplateId) {
        this.feightTemplateId = feightTemplateId;
    }
    public String getFeightTemplateName() {
        return feightTemplateName;
    }

    public void setFeightTemplateName(String feightTemplateName) {
        this.feightTemplateName = feightTemplateName;
    }
    public Integer getChargeType() {
        return chargeType;
    }

    public void setChargeType(Integer chargeType) {
        this.chargeType = chargeType;
    }
    public BigDecimal getFirstWeight() {
        return firstWeight;
    }

    public void setFirstWeight(BigDecimal firstWeight) {
        this.firstWeight = firstWeight;
    }
    public BigDecimal getFirstFee() {
        return firstFee;
    }

    public void setFirstFee(BigDecimal firstFee) {
        this.firstFee = firstFee;
    }
    public BigDecimal getContinueWeight() {
        return continueWeight;
    }

    public void setContinueWeight(BigDecimal continueWeight) {
        this.continueWeight = continueWeight;
    }
    public BigDecimal getContinmeFee() {
        return continmeFee;
    }

    public void setContinmeFee(BigDecimal continmeFee) {
        this.continmeFee = continmeFee;
    }
    public String getDest() {
        return dest;
    }

    public void setDest(String dest) {
        this.dest = dest;
    }

    @Override
    public String toString() {
        return "PmsFeightTemplate{" +
            "feightTemplateId=" + feightTemplateId +
            ", feightTemplateName=" + feightTemplateName +
            ", chargeType=" + chargeType +
            ", firstWeight=" + firstWeight +
            ", firstFee=" + firstFee +
            ", continueWeight=" + continueWeight +
            ", continmeFee=" + continmeFee +
            ", dest=" + dest +
        "}";
    }
}
